/*
 * @Author: fishroom
 * @Date: 2023-01-06 16:00:06
 * @LastEditTime: 2023-01-06 16:04:48
 * @FilePath: \koa\app\model\socket_group.ts
 */
import { Model, Table, Column, DataType, CreatedAt, UpdatedAt } from "Sequelize-typescript";
@Table
class socket_group extends Model {
  @Column({
    type: DataType.INTEGER,
    primaryKey: true,
    autoIncrement: true,
    unique: true,
    allowNull: false,
  })
  group_id!: number;
  @Column
  avatarUrl!: string;
  @Column
  groupname!: string;
  @Column
  member!: string;
  @Column
  user_id!: number;
  @CreatedAt
  creata_time!: string;
  @UpdatedAt
  updated_time!: string;
}
export default socket_group;